Page({
  handleCheckboxChange:function(e){
    console.log(e.detail.value);
  },
  handleRadioChange:function(e){
    console.log(e.detail.value);
  },
  handleGetPhoneNumber:function(e){
    console.log(e);
  },
  handleGetUserInfo:function(){
    // 替换 wx.getUserInfo 
    wx.getUserProfile({
      desc: '用于登录',
      success:(res)=>{
        console.log(res);
      },
      fail:(err)=>{
        console.log(err);
      }
    })
  }
})